<?php echo doctype();?> 

<html>
<head>
<title>Redirect</title>

<?php echo link_tag('css/reg_style.css'); ?>
<?php if ($time==0) {$time=99999;} ?>
<META HTTP-EQUIV="Refresh" CONTENT="<?php echo $time?>;URL='<?php echo site_url().$redirect; ?>">
<!-- tambahkan css dll disini -->

</head>
<body>
<?php echo form_fieldset('Redirect',array('class' => 'form')); ?>
<p class="content">
<?php echo $message ?>
<br/>
<?php 
	if ($time!=99999) 
		echo 'Anda akan diredirect dalam '.$time.' detik.';
	else
		echo anchor($redirect,'Klik untuk melakukan redirect');
	?>
</p>

<?php echo form_fieldset_close(); ?>

<!-- footer jika perlu -->

</body>
</html>